Piwik\Plugin\Controller C

Total Complexity 111
Dependencies 38
Dependents 0
Total lines 1,009
Lines of code 490
Logical lines of code 298
Comment lines 354
Methods 34
Properties 5

Methods 34

Method Rating Maintainability Complexity Lines of code
setBasicVariablesNoneAdminView()
A
42 13 47
getLastUnitGraphAcrossPlugins()
A
48 11 29
renderTemplateAs()
A
51 11 24
setGeneralVariablesViewAs()
A
41 8 56
renderReport()
S
51 7 25
setHostValidationVariablesView()
S
41 4 61
getGraphParamsModified()
S
52 6 26
redirectToIndex()
S
51 4 25
getDateParameterInTimezone()
S
62 4 12
setPeriodVariablesView()
S
56 3 18
checkTokenInUrl()
S
63 4 10
checkSitePermission()
S
65 4 9
getUrlSparkline()
S
58 3 15
getValidDate()
S
67 3 9
checkViewType()
S
72 3 5
init()
S
59 2 13
getEnabledPeriodsNames()
S
52 1 27
doRedirectToUrl()
S
61 2 12
getCalendarPrettyDate()
S
69 2 7
getNumericValue()
S
69 2 6
getPrettyDate()
S
77 1 3
addCustomLogoInfo()
S
73 1 5
__construct()
S
82 1 3
setBasicVariablesViewAs()
S
77 1 4
setBasicVariablesView()
S
81 1 3
setGeneralVariablesView()
S
79 1 3
setMinDateView()
S
73 1 5
getLastUnitGraph()
S
69 1 6
renderTemplate()
S
79 1 3
renderView()
S
81 1 3
getDefaultAction()
S
82 1 3
getEnabledPeriodsInUI()
S
76 1 4
setDate()
S
76 1 4
setMaxDateView()
S
73 1 5